<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>

	<form method="post" action="AdminUpdateUserServlet" enctype=multipart/form-data>

		<h3>个人信息</h3>
		<input type="hidden" name="id" value="${user.id }" />
		<input type="hidden" name="imgName" value="${user.img}" />
		<p> 
			<img src="upload/${user.img }"style="width: 80px;" alt="" /> 
			<input type="file" name="img">
		</p>
		<p>
			<span>用户类型</span> <span>${user.userType}</span>
		</p>
		<p>
			<span>账号<label>*</label></span> <input type="text" name="username" value="${user.username }">
		</p>
		<p>
			<span>密码<label>*</label></span> <input type="text" name="password" value="${user.password }">
		</p>	
		<p>
			<span>邮箱地址<label>*</label></span> <input type="text" name="email" value="${user.email }">
		</p>
		<p>
			<span>地址<label>*</label></span> <input type="text" name="address"	value="${user.address }">
		</p>
		<input type="submit" value="修改">
	</form>
</body>
</html>